package com.syq.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author syq
 * @since 2022-07-21
 */
@TableName("cashier")
public class Cashier implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 出纳ID
     */
    @TableId(value = "cashier_id", type = IdType.AUTO)
    private Integer cashierId;

    /**
     * 挂号人id
     */
    private Integer reportId;

    /**
     * 药品/项目名称
     */
    private String durgName;

    /**
     * 药品/项目数量
     */
    private Integer durgNum;

    /**
     * 药品/项目单价
     */
    private Double repicePrice;

    /**
     * 药品/项目总价
     */
    private Double repiceTotal;

    /**
     * 0 - 药品出纳， 1 - 项目出纳 ， 1 - 已缴费
     */
    private Integer state;

    /**
     * 创建时间
     */
    private LocalDate ctime;

    /**
     * 0 - 非检查项目（打针）  1 - 需检查项目（拍片）
     */
    private Integer ostate;

    /**
     * 需要检查项目-诊断结果
     */
    private String jie;

    /**
     * 0 - 未缴费 ，1 - 已缴费
     */
    private Integer mstate;

    public Integer getCashierId() {
        return cashierId;
    }

    public void setCashierId(Integer cashierId) {
        this.cashierId = cashierId;
    }
    public Integer getReportId() {
        return reportId;
    }

    public void setReportId(Integer reportId) {
        this.reportId = reportId;
    }
    public String getDurgName() {
        return durgName;
    }

    public void setDurgName(String durgName) {
        this.durgName = durgName;
    }
    public Integer getDurgNum() {
        return durgNum;
    }

    public void setDurgNum(Integer durgNum) {
        this.durgNum = durgNum;
    }
    public Double getRepicePrice() {
        return repicePrice;
    }

    public void setRepicePrice(Double repicePrice) {
        this.repicePrice = repicePrice;
    }
    public Double getRepiceTotal() {
        return repiceTotal;
    }

    public void setRepiceTotal(Double repiceTotal) {
        this.repiceTotal = repiceTotal;
    }
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
    public LocalDate getCtime() {
        return ctime;
    }

    public void setCtime(LocalDate ctime) {
        this.ctime = ctime;
    }
    public Integer getOstate() {
        return ostate;
    }

    public void setOstate(Integer ostate) {
        this.ostate = ostate;
    }
    public String getJie() {
        return jie;
    }

    public void setJie(String jie) {
        this.jie = jie;
    }
    public Integer getMstate() {
        return mstate;
    }

    public void setMstate(Integer mstate) {
        this.mstate = mstate;
    }

    @Override
    public String toString() {
        return "Cashier{" +
            "cashierId=" + cashierId +
            ", reportId=" + reportId +
            ", durgName=" + durgName +
            ", durgNum=" + durgNum +
            ", repicePrice=" + repicePrice +
            ", repiceTotal=" + repiceTotal +
            ", state=" + state +
            ", ctime=" + ctime +
            ", ostate=" + ostate +
            ", jie=" + jie +
            ", mstate=" + mstate +
        "}";
    }
}
